package com.hospital.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Author:晓风残月Lx
 * @Date: 2022/11/19 10:51
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "p_picture")
public class Picture implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long id;

    private Long pId; // 病人id

    private String image; // 图片

    private String imageName; // 文件名

    private Integer imageNum; // 治疗前：0 治疗中：1 治疗后：2
}
